class GrammarErr extends Error{
    constructor(message) {
        super(message); 
        this.name = this.constructor.name; 
        Error.captureStackTrace(this, this.constructor); 
    }
}

export {GrammarErr};